<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<%@ include file="/commons/include/head-meta-report.inc.jsp"%>	
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				background="<s:url value="/images/new/gxzl_index_2.gif"/>">
				<tr>
					<td width="20" height="32">&nbsp;</td>
					<td width="20"><img src="<s:url value="/images/new/dq_dot.gif"/>" width="15" height="12" /></td>
					<td>当前位置：需求单报表</td>
					<td width="60"></td>
					<td width="200"></td>
					<td width="100"></td>
					<td width="100"></td>
				</tr>
			</table>
			</td>
		</tr>
  <tr> 
    <td background="" class="leftbg">
		<table width="98%" height="400" border="0" cellspacing="0" cellpadding="0"
							align="center" bgcolor="#FFFFFF">
        <tr>

          <td valign="top">
					<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" >
						<br/>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td  class="tdborderleftright">
							<form action="flowReqReport_findBsReqReportNotGraph.action" method="post" name="reportForm">	
							<TABLE width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class=tablecolor2>
			                  <tr> 
			                    <td  height="50"> 
			                      <div align="center">需求名称</div></td>
			                    <td><input name="flowReqReportForm.reqTitle" type="text" value="${flowReqReportForm.reqTitle}" size="28"/></td>
			                   	<td  height="50"> 
			                      <div align="center">产品经理</div></td>
			                    <td><input name="flowReqReportForm.prodPerson" type="text" value="${flowReqReportForm.prodPerson}" size="28"/></td>
			                  </tr>
			                  <tr> 
			                    <td  height="50"> 
			                      <div align="center">发起时间</div></td>
			                    <td><input name="flowReqReportForm.startTime" type="text" value="${flowReqReportForm.startTime}" onFocus="WdatePicker({isShowClear:true,readOnly:true})" size="28"/></td>
			                   	<td  height="50"> 
			                      <div align="center">至</div></td>
			                    <td><input name="flowReqReportForm.endTime" type="text" value="${flowReqReportForm.endTime}" onFocus="WdatePicker({isShowClear:true,readOnly:true})" size="28"/></td>
			                  </tr>
			                  <tr> 
			                    <td  height="50"> 
			                      <div align="center">业务标签</div></td>
			                    <td><input name="flowReqReportForm.businessTag" type="text" value="${flowReqReportForm.businessTag}" size="28"/></td>
			                   	<td  height="50"> 
			                      <div align="center">发起部门</div></td>
			                    <td>
			                    	<select name="flowReqReportForm.shortDept">
			                      		<option value="">-=请选择部门=-</option>
			                      		<c:forEach var="shortName" items="${shortDeptList}">
			                      			<option value="${shortName}" <c:if test="${shortName eq flowReqReportForm.shortDept}"> selected="selected"</c:if>>${shortName}</option>
			                      		</c:forEach>
			                      	</select>
			                    </td>
			                  </tr>
			                  <!-- 
			                  	<td height="50"> 
			                      <div align="center">需求类型</div></td>
			                  	<td>
			                   		<select name="flowReqReportForm.daiType" style="width:150">
			                   			<option value="">请选择类型</option>
										<c:forEach var="type" items="${types}">
											<option value="${type}" <c:if test="${type eq flowReqReportForm.daiType}">selected="selected"</c:if> >${type}</option>
										</c:forEach>			                   		
			                   		</select>
			                    </td>
			                    <td height="50"> 
			                      <div align="center">排序条件</div></td>
			                    <td height="50">
			                      	<select name="flowReqReportForm.orderByName" style="width:150">
			                      		<option value="">请选择排序</option>
			                      		<option value="t1.name_" <s:if test='flowReqReportForm.orderByName == "t1.name_"'>selected</s:if> >按需求名称排序</option>
			                      		<option value="t1.prod_person"	<s:if test='flowReqReportForm.orderByName == "t1.prod_person"'>selected</s:if> >按产品经理排序</option>
			                      	</select>
			                    </td>
			                   -->
			                    
			                 	<tr>
				                 	<td height="50"> 
				                      <div align="center">所属流程</div></td>
				                    <td>
				                      	<s:select name="flowReqReportForm.processId" list="processList" listKey="id" listValue="name" theme="css_xhtml" />
				                    </td>
			                    	<td  height="50"> 
				                      	<div align="center">查询类型</div></td>
				                    <td>
				                    	<select name="flowReqReportForm.type">
				                      		<option value="1" <c:if test="${'1' eq flowReqReportForm.type}"> selected="selected"</c:if>>图形报表</option>
				                      		<option value="2" <c:if test="${'2' eq flowReqReportForm.type}"> selected="selected"</c:if>>进展报表</option>
				                      	</select>
				                    </td>
			                   
			                    
			                    </tr><tr> 
			                    	<td></td>
									<TD align="left" colspan="3">
				             			<input type="button" name="searchBtn" value="查 询" onclick="subNoValidateForm(document.forms[0],'flowReqReport_findBsReqReportNotGraph.action');">
										<input type="button" name="excelBtn" value="导出Excel" onClick="subNoValidateForm(document.forms[0],'flowReqReport_exportReportExcelNotGrap.action');">
									</TD>
								</TR>
							</TABLE>
			               
							</form>
							
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2 height="40">
								<tr>
									<td bgcolor="9AC2EB" width="7%">
									<div align="center"><font color="#FFFFFF">需求单号</font></div>
									</td>
									<td bgcolor="9AC2EB" width="6%">
									<div align="center"><font color="#FFFFFF">产品经理</font></div>
									</td>
									<td bgcolor="9AC2EB" width="16%">
									<div align="center"><font color="#FFFFFF">需求名称</font></div>
									</td>
									<td bgcolor="9AC2EB">
									<div align="center"><font color="#FFFFFF">需求内容</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">提出时间</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">完成时间</font></div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">当前节点</font></div>
									</td>
									<td bgcolor="9AC2EB" width="6%">
									<div align="center"><font color="#FFFFFF">当前办理人</font></div>
									</td>
									<td bgcolor="9AC2EB" width="16%">
									<div align="center"><font color="#FFFFFF">完成情况</font></div>
									</td>
																	
								</tr>
							<s:iterator id="report" value="#request.reportList">
								<tr>  
									<td>
										<div align="center"><s:property value="reqCode" /></div>
									</td>
									<td>
										<div align="center"><s:property value="prodPerson.name" /></div>
									</td>                    
									<td>
										<s:property value="name" />
									</td>
									<td>
										<s:property value="content" escape="false"/>
									</td>
									
									<td>
										<div align="center"><s:date name="begin" format="yyyy-MM-dd"/></div>
									</td>
									<td>
										<div align="center"><s:date name="planTime" format="yyyy-MM-dd"/></div>
									</td>
									<td>
										<div align="center"><s:property value="currStatus"/></div>
									</td>
									<td>
										<div align="center"><s:property value="currUser"/></div>
									</td>
									<td >
										<div align="left" width="98%">
											<s:iterator value="reqProgresses" status="rp">
												<s:property value="#rp.index+1"/>.<s:property value="reqProg"/>
												&nbsp;完成<s:property value="percent"/>%
												【<s:date name="createTime" format="yyyy-MM-dd"/>】。<br/>
											</s:iterator>
										</div>
									</td>
																	
								</tr>
							</s:iterator>
							</table>
							<div style="text-align: center">${pageNaviStr }</div>
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>	
	</td>
	</tr>
</table>					 
</body>
</html>
